﻿using SqlSugar;

namespace Model
{
    /// <summary>
    /// 用户表
    ///</summary>
    [SugarTable("EMS_USER")]
    public class User
    {
        /// <summary>
        ///  ID
        ///</summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
        public decimal Id { get; set; }
        /// <summary>
        ///  姓名
        ///</summary>
        [SugarColumn(ColumnName = "NAME")]
        public string Name { get; set; }
        /// <summary>
        ///  性别
        ///</summary>
        [SugarColumn(ColumnName = "GENDER")]
        public string Gender { get; set; }
        /// <summary>
        ///  密码
        ///</summary>
        [SugarColumn(ColumnName = "PASSWORD")]
        public string Password { get; set; }
        /// <summary>
        ///  部门
        ///</summary>
        [SugarColumn(ColumnName = "DEPARTMENT")]
        public string Department { get; set; }
        /// <summary>
        ///  职位
        ///</summary>
        [SugarColumn(ColumnName = "POSITION")]
        public string Position { get; set; }
        /// <summary>
        ///  组别
        ///</summary>
        [SugarColumn(ColumnName = "GROUP_NAME")]
        public string GroupName { get; set; }
        /// <summary>
        ///  角色
        ///</summary>
        [SugarColumn(ColumnName = "ROLE")]
        public string Role { get; set; }
        /// <summary>
        ///  状态
        ///</summary>
        [SugarColumn(ColumnName = "STATUS")]
        public int Status { get; set; }
    }
}
